const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.userInfo.staffPhoto, //用户头像
  name: (state) => state.user.userInfo.username, //用户名称
  //用户资料快速访问
  userId: (state) => state.user.userInfo.userId,
};
export default getters;
